Hummingbird\Core\Modules\Page_Cache D

Total Complexity 360
Dependencies 7
Dependents 4
Total lines 2,201
Lines of code 1,125
Logical lines of code 717
Comment lines 781
Methods 58
Properties 3

Methods 58

Method Rating Maintainability Complexity Lines of code
cache_request()
C
35 24 79
clear_cache()
B
38 22 61
purge_post_cache()
B
38 20 66
should_cache_request()
B
41 21 48
skip_page_type()
B
49 18 27
load_config()
A
47 15 29
get_mapped_domain()
A
47 13 35
post_status_change()
A
50 13 27
serve_cache()
A
47 10 37
toggle_service()
A
51 10 28
cleanup()
A
50 9 27
log_msg()
A
51 8 25
init_filesystem()
A
52 8 25
check_plugin_compatibility()
A
45 7 39
check_wp_settings()
A
49 7 32
post_edit()
S
51 7 25
send_file()
S
54 7 20
maybe_update_advanced_cache()
S
55 7 20
skip_url()
S
55 7 17
send_headers()
S
52 6 24
get_page_headers()
S
53 6 23
get_page_headers_cached()
S
54 6 21
module_status()
S
60 6 13
get_file_cache_path()
S
49 5 28
clear_on_comment_post()
S
60 6 13
init_caching()
S
55 5 20
get_cookies()
S
56 5 18
skip_user_agent()
S
60 5 12
save_settings()
S
56 4 18
can_serve_compressed()
S
64 5 9
skip_custom_cookies()
S
59 4 14
check_critical_css_queue()
S
63 4 11
logged_in_user()
S
63 4 11
check_minification_queue()
S
63 4 11
check_fast_cgi_cache()
S
63 4 11
get_settings()
S
56 3 18
clear_external_cache()
S
69 4 6
add_index()
S
65 4 9
is_valid_cache_file_path()
S
63 4 10
run()
S
53 2 22
init_preloader()
S
68 3 7
init()
S
69 3 6
get_page_types()
S
59 2 14
get_default_settings()
S
51 1 27
clear_cache_action()
S
70 2 7
get_request_uri()
S
73 2 4
write_file()
S
67 2 8
is_mobile_agent()
S
63 2 10
skip_subsite()
S
68 2 7
normalize_path()
S
66 2 8
skip_custom_post_type()
S
69 2 7
activate()
S
71 2 6
clear_cache_button()
S
72 1 7
clear_cache_message()
S
74 1 4
disable()
S
76 1 4
enable()
S
80 1 3
if_disable_cache_request()
S
75 1 4
clear_cache_after_menu_update()
S
82 1 3